/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package objects;

/**
 *
 * @author rob
 */
public class UIOverlay {

    //GLUquadric quadric = glu.gluNewQuadric();
         //gl.glColor3f(1.0f, 0.5f, 0.0f);
         //glu.gluSphere(quadric, 0.5f, 20, 20);  //draw an orange sphere, looks 2d with no lighting on

         /**
         Just messing around with 2D overlays which can be used as a UI with textures added, etc, Rob

         gl.glMatrixMode(GL.GL_PROJECTION);
         gl.glLoadIdentity();
         glu.gluOrtho2D(0, 512.0, 512.0, 0);

         gl.glMatrixMode(GL.GL_MODELVIEW);
         gl.glLoadIdentity(); //reset the drawing point so we dont get animation

         gl.glBegin(gl.GL_QUADS);
            gl.glVertex2f(256.0f, 128.0f);
            gl.glVertex2f(256.0f, 256.0f); //bottom right
            gl.glVertex2f(128.0f, 256.0f);
            gl.glVertex2f(128.0f, 128.0f);
         gl.glEnd();

         gl.glMatrixMode(GL.GL_PROJECTION);
         gl.glLoadIdentity();
         glu.gluPerspective(45.0, (float)512/(float)512, 0.1, 100);    // fov, aspect ratio, near & far clipping planes

         gl.glMatrixMode(GL.GL_MODELVIEW);
           **/

}
